home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Agent Central Host Computer
/
Agent - Central Host Computer.iso
/
_SETUP.1
/
fareentr.sql
< prev
next >
Wrap
Text File
|
2000-05-12
|
1KB
|
27 lines
/* RCSVER $Id: fareentr.sql,v 1.3 1999-06-03 12:00:35-05 randy CURRENT $ */
/* *************************************************************************
* Copyright (C) 1999, Agent Systems, Inc. All Rights Reserved.
*
* Name: fareentr.sql
* Date: 02/23/1999
* memo: Randy Wood
* Description: Create the fareentr table. Fareentr contains information
* from the fare entry farebox record.
* Changes:
************************************************************************* */
CREATE TABLE fareentr
(
det_seq_num NUMBER(38) /* pointer to mstrrec record */
CONSTRAINT ref1_fareentr REFERENCES mstrrec(det_seq_num),
farebox_glid NUMBER(38), /* Farebox ID from global_id */
conv_date DATE, /* Date for this record */
fare_id NUMBER(38), /* ID of fare from faredescriptions */
amount NUMBER(36,2), /* Amount entered */
auto_dump NUMBER(1), /* Was this from an autodump? 1/0 */
low_fare NUMBER(1), /* was this an underpayment? */
high_fare NUMBER(1), /* was this an overpayment? */
dump_upr NUMBER(1), /* Was this from a upr dump? */
fare_context_id NUMBER(38), /* references fare_context */
CONSTRAINT pk_fareentr PRIMARY KEY (det_seq_num)
);